package com.sun.temp.mapper.mapper2;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sun.temp.bean.WeightBean2;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * $ {description}
 * </p>
 *
 * @author: Mr.Wang
 * @create: 2025-08-25 14:45
 **/
@Mapper
@DS("db2")
public interface WeightDao2 extends BaseMapper<WeightBean2> {
    // 查询批号、等级，进行排序功能
    WeightBean2 getSgByGrade(String grade);
    List<WeightBean2> getAllGrade();
//    void removeByBatch(String batch);
    List<WeightBean2> getSgListByGrade(String grade);
}
